<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册页面</title>
</head>
<body>
	<form action="<%=basePath %>MemberServlet?action=regist" method="post" enctype="multipart/form-data">
		<table width="350" height="225" align="center">
			<tr><td>会员名称：</td><td><input type="text" name="memberName"></td></tr>
			<tr><td>会员账号：</td><td><input type="text" name="account"></td></tr>
			<tr><td>会员密码：</td><td><input type="password" name="password"></td></tr>	
			<tr><td>上传照片</td><td><input type="file" name="photo"></td></tr>
			<tr><td>手机号：</td><td><input type="text" name="phone"></td></tr>
			<tr><td>邮箱号：</td><td><input type="text" name="email"></td></tr>
			<tr><td>余额：</td><td>0</td></tr>
			<tr><td></td><td><input type="submit" value="注册"></td></tr>
			<h3 align="center">${msg }</h3>
		</table>
	</form>
</body>
</html>